package qldc.pm.qlktcsdldc.service.persistence;

import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.util.ReferenceRegistry;


public class NguoiDungFinderUtil {
    private static NguoiDungFinder _finder;

    public static java.util.List<qldc.pm.qlktcsdldc.model.NguoiDung> searchNguoiDung(
        java.lang.String tenSoBanNganh, java.lang.String tenDangNhap,
        java.lang.String hoVaTen)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder().searchNguoiDung(tenSoBanNganh, tenDangNhap, hoVaTen);
    }

    public static NguoiDungFinder getFinder() {
        if (_finder == null) {
            _finder = (NguoiDungFinder) PortletBeanLocatorUtil.locate(qldc.pm.qlktcsdldc.service.ClpSerializer.getServletContextName(),
                    NguoiDungFinder.class.getName());

            ReferenceRegistry.registerReference(NguoiDungFinderUtil.class,
                "_finder");
        }

        return _finder;
    }

    public void setFinder(NguoiDungFinder finder) {
        _finder = finder;

        ReferenceRegistry.registerReference(NguoiDungFinderUtil.class, "_finder");
    }
}
